package br.ufpe.cin.mac.parser;

public class XConnector {

	public static final String TAG_NAME = "Connector";

	public static final String TAG_NAME_CONCRETE = "ConcreteConnector";

	/**
	 * ID = Canonical Name Name = Short Name
	 */

	private String id, name;

	public XConnector(String id, String name) {
		setId(id);
		setName(name);
	}

	public String getId() {
		return id;
	}

	public String getName() {
		return name;
	}

	private void setName(String name) {
		if (name != null) {
			this.name = name;
		}
	}

	private void setId(String id) {
		if (id != null) {
			this.id = id;
		}
	}
}
